package com.qfjy.homework.yangwannian;

/**
 * @Author: yangwannian
 * @Date: 2022/6/29 - 17:40
 * @Description: com.qfjy.homework.yangwannian
 * @version: 1.0
 */
public abstract class ShapeDecorator implements Shape {
    protected Shape decoratedShape;

    public ShapeDecorator(Shape decoratedShape){
        this.decoratedShape = decoratedShape;
    }

    public void draw(){
        decoratedShape.draw();
    }
}
